credit assignment